home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12676 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  654 b 

  1. Path: cnct.com!usenet
  2. From: olcint@cnct.com (OLC)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: 'delete' dos not work !!!! (for me...)
  5. Date: Thu, 21 Mar 1996 00:53:11 GMT
  6. Organization: OLC
  7. Message-ID: <4ipus7$3s4@mars.cnct.com>
  8. References: <ROLLET.96Mar18215549@oriole.DMI.USherb.CA>
  9. Reply-To: olcint@cnct.com
  10. NNTP-Posting-Host: terra.cnct.com
  11. X-Newsreader: Forte Free Agent v0.55
  12.  
  13. rollet@oriole.DMI.USherb.CA (Romaric Rollet) wrote:
  14.  
  15. >  delete don;
  16. >  return res;
  17. >}
  18.  
  19. >Why ?? (this is about 800Ko allocated for me and what a shame not to free it !!)
  20.  
  21. >Thanxs for your answers..
  22. >Romaric Rollet.
  23.  
  24.  
  25. Try delete[] don;   instead of delete don;
  26.  
  27. ???
  28.  
  29. bye!
  30.  
  31.  
  32.  
  33.